#pragma once

class CUIMemWindowDC
{
public:
    CUIMemWindowDC( HDC hDC, const RECT& rect );
    virtual ~CUIMemWindowDC( void );
    void ExcludeClient( HWND hWnd );
    HDC GetDC();
private:
    HDC m_hDC;
    HDC m_dcMem;
    HBITMAP m_bmpOrignMem;
    HBITMAP m_bmpOldOrignMem;
    RECT m_rect;
};

